package com.itheima.htmo_01.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

import java.util.List;

@Data
public class QuestionsDTO {

    @NotBlank(message = "title不能为空")
    private String title;

    private String description;

    @NotEmpty(message = "图片不能为空")
    private List<Integer> imageIds;

}
